﻿using Newtonsoft.Json;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace ApisixSDK.Admin.model.plugin
{

    public class IpRestriction : Plugin
    {
        [JsonPropertyName("whitelist")]
        [JsonProperty(propertyName: "whitelist")]
        public IList<string> WhiteList { get; set; }

        [JsonPropertyName("blacklist")]
        [JsonProperty(propertyName: "blacklist")]
        public IList<string> BlackList { get; set; }
    }

}